//
//  OnedayModel.h
//  项目
//
//  Created by 张诗雨 on 14/12/30.
//  Copyright (c) 2014年 张诗雨. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface OnedayModel : NSObject
@property (nonatomic, copy)NSString * id;
/// 封面图片
@property (nonatomic, copy)NSString *coverimg;
/// 类型
@property (nonatomic, copy)NSString *name;
/// 题目
@property (nonatomic, copy)NSString *title;
/// 浏览次数
@property (nonatomic, assign)NSInteger view;

@property (nonatomic, retain)NSDictionary *userinfo;
/// 播放详情
@property (nonatomic, retain)NSDictionary *playInfo;
/// 作者详情
@property (nonatomic, retain)NSDictionary *authorinfo;
/// 播放列表
@property (nonatomic, retain)NSArray *playList;
/// 简介
@property (nonatomic, retain)NSString *content;
/// 画册列表
@property (nonatomic, retain)NSArray *imglist;
/// 图片个数
@property (nonatomic, assign)NSInteger imgtotal;
- (instancetype)initWithCoverImg:(NSString *)coverimg name:(NSString *)name title:(NSString *)title view:(NSInteger)view userInfo:(NSDictionary *)userinfo playInfo:(NSDictionary *)playInfo authorInfo:(NSDictionary *)authorInfo playList:(NSArray *)playList content:(NSString *)content imglist:(NSArray *)imglist imgtotal:(NSInteger)imgtotal id:(NSString *) id;
+ (instancetype)modelWithCoverImg:(NSString *)coverimg name:(NSString *)name title:(NSString *)title view:(NSInteger)view userInfo:(NSDictionary *)userinfo playInfo:(NSDictionary *)playInfo authorInfo:(NSDictionary *)authorInfo playList:(NSArray *)playList content:(NSString *)content imglist:(NSArray *)imglist imgtotal:(NSInteger)imgtotal id:(NSString *) id;
@end
